package com.ruoyi.warehouse.mapper;

import java.util.List;
import com.ruoyi.warehouse.domain.DrugWarehouseOperate;
import org.apache.ibatis.annotations.Mapper;

/**
 * 药库操作Mapper接口
 * 
 * @author ruoyi
 * @date 2025-08-22
 */
@Mapper
public interface DrugWarehouseOperateMapper 
{
    /**
     * 查询药库操作
     * 
     * @param operateId 药库操作主键
     * @return 药库操作
     */
    public DrugWarehouseOperate selectDrugWarehouseOperateByOperateId(Long operateId);

    /**
     * 查询药库操作列表
     * 
     * @param drugWarehouseOperate 药库操作
     * @return 药库操作集合
     */
    public List<DrugWarehouseOperate> selectDrugWarehouseOperateList(DrugWarehouseOperate drugWarehouseOperate);

    /**
     * 新增药库操作
     * 
     * @param drugWarehouseOperate 药库操作
     * @return 结果
     */
    public int insertDrugWarehouseOperate(DrugWarehouseOperate drugWarehouseOperate);

    /**
     * 修改药库操作
     * 
     * @param drugWarehouseOperate 药库操作
     * @return 结果
     */
    public int updateDrugWarehouseOperate(DrugWarehouseOperate drugWarehouseOperate);

    /**
     * 删除药库操作
     * 
     * @param operateId 药库操作主键
     * @return 结果
     */
    public int deleteDrugWarehouseOperateByOperateId(Long operateId);

    /**
     * 批量删除药库操作
     * 
     * @param operateIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDrugWarehouseOperateByOperateIds(Long[] operateIds);
}
